#include "RandomField.h"
#include <stdlib.h>

RandomField::RandomField(void)
{
}


RandomField::~RandomField(void)
{
}

Vector2 RandomField::get_trajectory(Vector2 & tank_loc) {
	int x = 0;
	int y = 0;
	
	while (x == 0) {
		x = (rand() % 100) - 50;
	}

	while (y == 0) {
		y = (rand() % 100) - 50;
	}

	Vector2 v(x, y);
	return v.normalize() * 0.1;
}
